import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Computest  from  '@/components/Computest'
import WatchTest  from  '@/components/WatchTest'
import TestA from '../components/TestA'
import  Gettervuex from '../components/Gettervuex'
import MutationTest from '../components/MutationTest'
import TestVueResource from '../components/TestVueResource'
import AxiosTest from '../components/AxiosTest'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/computeTest',
      name: 'Computest',
      component: Computest
    },
    {
      path: '/watchTest',
      name: 'WatchTest',
      component: WatchTest
    },
    {
      path: '/aaa',
      name: 'TestA',
      component: TestA
    },
    {
      path: '/bbb',
      name: 'Gettervuex',
      component: Gettervuex
    },
    {
      path: '/ccc',
      name: 'MutationTest',
      component: MutationTest
    },
    {
      path: '/ddd',
      name: 'TestVueResource',
      component: TestVueResource
    },
    {
      path: '/axiosTest',
      name: 'AxiosTest',
      component: AxiosTest
    }
  ]
})
